/**
 * 
 */
package com.zhiteng.quartz;

import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.zhiteng.service.PointLimitService;

/**  
* <p>Title: ResetCurrentPoint.java</p>  
* <p>Description: 下一个周期开始自动重置积分</p>  
* @author dragon  
* @date 2019年1月6日  
* @version 1.0  
*/
@Component//("resetCurrentPoint")
public class ResetCurrentPoint {
	@Autowired
	private PointLimitService pointLimitService;
	
	//	周期为一天
	public void resetCurrentPointByDay() {
		System.out.println("ResetCurrentPointByDay");
	}
	
	//	周期为一个月
	public void resetCurrentPointByMonth() {
		System.out.println("ResetCurrentPointByMonth");
		/*List<Integer> typeList = new ArrayList<>();
		typeList.add(1);	//	请假
		typeList.add(2);	//	调代课
		typeList.add(3);	//	发布成绩
		pointLimitService.updatePointLimitByTypeList(typeList);*/
	}

}
